<?php

$parter = '1264';
$type	=	$_POST['paytype'];
$value	=$_POST['p3_Amt'];
$orderid	=	$_POST['p2_Order'];
$callbackurl	=	"http://".$_SERVER['HTTP_HOST']."/zhpay/Back.php";
$hrefbackurl	=	"http://".$_SERVER['HTTP_HOST']."/zhpay/return.php";
$payerIp	=	'';
$attach	=	'';
$key = '6570699df5eb44b798d687844e9010a4';

$signStr = "parter=$parter&type=$type&value=$value&orderid=$orderid&callbackurl=$callbackurl";

$sign	= md5($signStr.$key);

$url	= "http://www.gbphke.top/chargebank.aspx?" . $signStr . "&sign=" .$sign. "&hrefbackurl=".$hrefbackurl;			
		
		//页面跳转
header("location:" .$url);

?> 